interface IKun {
  name: string
  age: number
  slogan: string
  playBasketBall: () => void
}

const ikun1: IKun = {
  name: "why",
  age: 18,
  slogan: "干嘛呢",
  playBasketBall: function () {
  }
}

class Person implements IKun {
  name: string = ""
  age: number = 0
  slogan: string = ""

  playBasketBall() { }
}

const ikun2 = new Person()

console.log(ikun1)
console.log(ikun2)